

# 子任务1:
# work01 代表函数的入口地址
def work01(a, b):
    print('子任务1...', a, b)
    pass

# 子任务2:
def work02(a, b):
    print('子任务2...', a, b)
    pass


# 子任务3:
def work03(a, b):
    print('子任务3...', a, b)
    pass


# 子任务4: 16:22
def work04(a, b):
    print('子任务3...', a, b)
    pass

# 框架 任务的调用者 16:21
def workframe(myfunc_callback, a, b):
    myfunc_callback(a, b)  # 间接调用
    pass


if __name__ == '__main__':

    # 1 直接调用
    # work01(1, 2)

    # 2 间接调用
    workframe(work01, 11, 12)
    workframe(work02, 21, 22)
    workframe(work04, 31, 32)
